package cn.wy.util;

import java.util.Date;

public class RunTimeUtils {

    public static long getStartTime() {
        return new Date().getTime();
    }

    public static long getEndTime(){
        return new Date().getTime();
    }

    public static String  getRunTime(long startTime,long endTime){
        String str = "运行时间："+(endTime - startTime) + "ms";
        return str;
    }
}
